package com.hospital.ssm.model;

public class Doctor {
    /*
    * 医生姓名 d_name 非空
      医生电话 d_tel 非空
      医生邮箱 d_email 非空
      医生性别 d_sex 非空
      医生年龄 d_age 非空
      医生状态 d_status 非空 默认禁用
      医生类别 d_dtid 外键（DoctorType的编号）
      医生资质 d_type	外键（DoctorQual的编号）下拉列表
      医生简介 d_introduce
    * */
    private Integer dId;
    private String dName;
    private String dTel;
    private String dEmail;
    private String dSex;
    private Integer dAge;
    private String dStatus;
    private String dDtid;
    private String dTypep;
    private String dIntroduce;

    public Doctor() {
    }

    public Doctor(Integer dId, String dStatus) {
        this.dId = dId;
        this.dStatus = dStatus;
    }

    public Doctor(Integer dId, String dName, String dTel, String dEmail, String dSex, Integer dAge, String dStatus) {
        this.dId = dId;
        this.dName = dName;
        this.dTel = dTel;
        this.dEmail = dEmail;
        this.dSex = dSex;
        this.dAge = dAge;
        this.dStatus = dStatus;
    }

    public Doctor(String dName, String dTel, String dEmail, String dSex, Integer dAge, String dStatus) {
        this.dName = dName;
        this.dTel = dTel;
        this.dEmail = dEmail;
        this.dSex = dSex;
        this.dAge = dAge;
        this.dStatus = dStatus;
    }

    public Doctor(String dName, String dTel, String dEmail, String dSex, Integer dAge, String dStatus, String dDtid, String dTypep, String dIntroduce) {
        this.dName = dName;
        this.dTel = dTel;
        this.dEmail = dEmail;
        this.dSex = dSex;
        this.dAge = dAge;
        this.dStatus = dStatus;
        this.dDtid = dDtid;
        this.dTypep = dTypep;
        this.dIntroduce = dIntroduce;
    }

    public Doctor(Integer dId, String dName, String dTel, String dEmail, String dSex, Integer dAge, String dStatus, String dDtid, String dTypep, String dIntroduce) {
        this.dId = dId;
        this.dName = dName;
        this.dTel = dTel;
        this.dEmail = dEmail;
        this.dSex = dSex;
        this.dAge = dAge;
        this.dStatus = dStatus;
        this.dDtid = dDtid;
        this.dTypep = dTypep;
        this.dIntroduce = dIntroduce;
    }

    public String getdName() {
        return dName;
    }

    public void setdName(String dName) {
        this.dName = dName;
    }

    public Integer getdId() {
        return dId;
    }

    public void setdId(Integer dId) {
        this.dId = dId;
    }

    public String getdTel() {
        return dTel;
    }

    public void setdTel(String dTel) {
        this.dTel = dTel;
    }

    public String getdEmail() {
        return dEmail;
    }

    public void setdEmail(String dEmail) {
        this.dEmail = dEmail;
    }

    public String getdSex() {
        return dSex;
    }

    public void setdSex(String dSex) {
        this.dSex = dSex;
    }

    public Integer getdAge() {
        return dAge;
    }

    public void setdAge(Integer dAge) {
        this.dAge = dAge;
    }

    public String getdStatus() {
        return dStatus;
    }

    public void setdStatus(String dStatus) {
        this.dStatus = dStatus;
    }

    public String getdDtid() {
        return dDtid;
    }

    public void setdDtid(String dDtid) {
        this.dDtid = dDtid;
    }

    public String getdTypep() {
        return dTypep;
    }

    public void setdTypep(String dTypep) {
        this.dTypep = dTypep;
    }

    public String getdIntroduce() {
        return dIntroduce;
    }

    public void setdIntroduce(String dIntroduce) {
        this.dIntroduce = dIntroduce;
    }

    @Override
    public String toString() {
        return "Doctor{" +
                "dId=" + dId +
                ", dName='" + dName + '\'' +
                ", dTel='" + dTel + '\'' +
                ", dEmail='" + dEmail + '\'' +
                ", dSex='" + dSex + '\'' +
                ", dAge=" + dAge +
                ", dStatus='" + dStatus + '\'' +
                ", dDtid='" + dDtid + '\'' +
                ", dTypep='" + dTypep + '\'' +
                ", dIntroduce='" + dIntroduce + '\'' +
                '}';
    }
}
